import {createSlice} from "@reduxjs/toolkit";

export const showScrollSlice = createSlice({
  name: "showScroll",
  initialState: false,
  reducers: {
    hide: state => state = false,
    show: state => state = true
  }
})

export const {show, hide} = showScrollSlice.actions
